﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NG
{
    class AnalysisArea
    {
        private int mareaCode;
        private string mareaName;
        private int mdimCode;

        public AnalysisArea(int areaCode, string areaName, int dimCode)
        {
            mareaCode = areaCode;
            mareaName = areaName;
            mdimCode = dimCode;
        }

        public int dimCode
        {
            get
            {
                return mdimCode;
            }
            set
            {
                mdimCode = value;
            }
        }

        public string areaName
        {
            get
            {
                return mareaName;
            }
            set
            {
                mareaName = value;
            }
        }

        public int areaCode
        {
            get
            {
                return mareaCode;
            }
            set
            {
                mareaCode = value;
            }
        }

        public override string ToString()
        {
            return mareaCode + ":" + mareaName;
        }
    }
}
